local SkillBase = class("SkillBase")
local GameUtils = require("utils.GameUtils")
local Vector3 = require("utils.Vector3")
local AttributeConst = require("const.AttributeConst")
-- 技能表现基类，定义最基本的接口规范

function SkillBase:ctor()
    self._entity = nil
    self._standing = 1
    self._id = 1
end

function SkillBase:getId()
    return self._id
end

function SkillBase:setId(id)
    self._id = id
end

function SkillBase:attack(index) -- 指定目标释放技能
end

function SkillBase:getEntity()
    return self._entity
end

function SkillBase:setEntity(entity)
    self._entity = entity
    printDebug("设置站位" .. entity:getStanding())
    self:setStanding(entity:getStanding())
end

function SkillBase:setStanding(stand)
    self._standing = stand
end

function SkillBase:getStanding()
    return self._standing
end

function SkillBase:getSkillTargetStanding()
    return self._standing
end

return SkillBase
